<template>

    <div class="wrap">
        <el-container>
            <el-header>
                <top></top>
            </el-header>
            <el-main>
                <div class="main-div">
                    <div class="breadcrumb">
                        <BreadCrumb />
                    </div>
                    <div class="right-main-div">
                        <PersonSide />
                    </div>
                    <div class="left-main-div">
                        <router-view />

                    </div>
                </div>
            </el-main>
            <el-footer>
                <ButtonState></ButtonState>
            </el-footer>
        </el-container>
    </div>
</template>

<script >
import PersonSide from "../../components/PersonSide.vue"
import BreadCrumb from "../../components/BreadCrumb.vue"
import top from "../../components/TopNav.vue"
import ButtonState from "@/components/ButtonState.vue"
export default {
    components: {
    PersonSide,
    BreadCrumb,
    top,
    ButtonState
},
    data() {
        return {
            activeName: 'second'
        }
    },
    methods: {
        handleClick(tab, event) {
            console.log(tab, event);
        }
    },

    

}
</script>

<style>
.wrap {
    width: 1200px;
    height: 800px;
    margin: 0 auto;
}

.main-div {
    position: relative;
    width: 100%;
    height: 650px;
    background-color: rgb(255, 255, 255);
}

.right-main-div {
    position: absolute;
    left: 0;
    width: 20%;
    height: 600px;
    box-shadow: 0 4px 8px 0 rgba(144, 237, 155, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.left-main-div {
    position: absolute;
    right: 20px;
    width: 75%;
    height: 600px;
    box-shadow: 0 4px 8px 0 rgba(144, 237, 155, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.left-main-div-head {
    width: 95%;
    height: 30px;
    margin-left: 20px;
}

.head-tabs {
    width: 100%;
}

.breadcrumb {
    width: 100%;
    height: 50px;
}
</style>